package com.asset.salesforce.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

@SuppressWarnings("serial")
@Entity
@Table(name = "post_file")
public class PostFile implements Serializable{
	
	private Integer id;
	
	private Integer postId;
	
	private Integer fileId;
	
	@Id
	@GeneratedValue(strategy = GenerationType.SEQUENCE ,generator="post_file_id_seq")
	@SequenceGenerator(name="post_file_id_seq",sequenceName="post_file_id_seq",allocationSize=1)
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}
	@Column(name="post_id")
	public Integer getPostId() {
		return postId;
	}

	public void setPostId(Integer postId) {
		this.postId = postId;
	}
	@Column(name="comment_id")
	public Integer getFileId() {
		return fileId;
	}

	public void setFileId(Integer fileId) {
		this.fileId = fileId;
	}
	
	
	
}
